Shape and material recovery from object motion with application to relighting

ABSTRACT

A method for shape and material recovery from motion includes modeling the correct dichromatic dependence of surface reflectance on surface normal, lighting and viewing directions to derive a differential flow relation; determining a rank deficiency in a sequence of differential flow relations and using the rank deficiency to handle complex bidirectional reflectance distribution functions (BRDFs); estimating BRDF-derivatives from the differential flow relations to recover the complex BRDF; and reconstructing depth of objects without knowledge of the BRDFs for joint shape and material recovery.

The present application claims priority to Provisional Application Nos. 61/948,728 and 61/948,729, both filed on Mar. 6, 2014, the contents of which are incorporated by reference.

BACKGROUND

Shape and lighting interact in complex ways through the bidirectional reflectance distribution function (BRDF) to produce the variety of images around us. Shape recovery with unknown BRDF and lighting is traditionally considered hard, while their joint recovery is deemed severely ill-posed.

Object motion cues for shape recovery have been extensively studied within the purview of optical flow. It is well-known from early works that brightness constancy assumed by optical flow has limitations. Several approaches have been proposed for shape recovery with general BRDFs, such as generalized optical flow and specular flow for mirror surfaces.

For BRDF estimation, parametric models have a long history. Non-parametric and data-driven approaches are popular for their representation power, but require a large amount of data or rely on complex estimation whose properties are hard to characterize. Semiparametric models have also been proposed for BRDF editing and estimation.

SUMMARY

In one aspect, a method for shape and material recovery from motion includes modeling the correct dichromatic dependence of surface reflectance on surface normal, lighting and viewing directions to derive a differential flow relation; determining a rank deficiency in a sequence of differential flow relations and using the rank deficiency to handle complex bidirectional reflectance distribution functions (BRDFs); estimating BRDF-derivatives from the differential flow relations to recover the complex BRDF; and reconstructing depth of objects that reflect light without the BRDFs for shape recovery.

In another aspect, a framework for the joint recovery of the shape and reflectance of an object with dichromatic BRDF, using motion cues is disclosed. Four (small or differential) motions of the object suffice to yield a linear system that decouples shape and BRDF.

Advantages of the above systems may include one or more of the following. The benefit is that precise limits on shape and reflectance recovery using motion cues may be derived. We show that shape may be recovered for unknown isotropic BRDF and light source. Simultaneous reflectance estimation is shown ambiguous for general isotropic BRDFs, but possible for restricted BRDFs representing common materials like metals, plastics and paints. The practical benefit of the decoupling is that joint shape and BRDF recovery need not rely on alternating methods, or restrictive priors. Further, our theory yields conditions for the joint estimability of shape, albedo, BRDF and directional lighting using motion cues. Surprisingly, such problems are shown to be well-posed even for some non-Lambertian material types. Experiments on measured BRDFs from the MERL database validate our theory.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1-6 shows exemplary processes on Shape and Material Recovery from Motion.

FIG. 7 shows an exemplary system to perform Shape and Material Recovery from Motion.

DESCRIPTION

FIGS. 1-6 show exemplary processes on Shape and Material Recovery from Motion. Traditional optical flow to recover shape from object motion relies on diffuse reflectance and brightness constancy. In contrast, viewing FIGS. 1-4 in combination, our methods derive a differential flow relation for general dichromatic BRDFs and relate it to the surface depth (100). We observe a rank deficiency in this relation across different images. This rank deficiency can be exploited to recover depth, as well as the unknown reflectance (101). The BRDF is unknown. The light direction is unknown. Then, we show that using 4 or more differential motions of the object, we may eliminate BRDF terms to recover surface depth (111). The BRDF is unknown and assumed to be composed of a sum of dichromatic lobes. Then, we show that using 4 or more differential motions of the object, we may derive a linear system in the albedo and BRDF-derivatives. This linear system can be solved to recover the albedo and BRDF (112). Given images of an object of unknown shape, with an unknown dichromatic BRDF, observed as the object moves, we estimate its shape and reflectance using (111) and (112). This can be used for appearance prediction and relighting applications (200).

In one embodiment of operation 111, two reconstruction methods can be used:

Method 1:

-   -   1(i) Recover depth directly using z=ε₁     -   1(ii) Regularize for smoothness with norm([z_(x), z_(y)])

Method 2:

-   -   2:(i) Solve the combined system         min(z−ε ₁)²+λ(ε₂z_(x)+ε₃z_(y)−ε₄)²     -   2:(ii) Highly sparse linear system, efficiently solvable.

In one embodiment of operation 112, two reflectance recovery methods may be used:

-   -   (i) Solve linear system to recover Albedo and BRDF-derivatives     -   (ii) Perform integration to recover BRDF lobes from their         derivatives

Under novel lighting, we can determine the point on the BRDF-curve corresponding to the reflectance of a surface point. This is used to predict the appearance of the object under novel lighting (201). For an object with novel geometry, observed under novel lighting, we can determine the point on the BRDF-curve corresponding to the reflectance of each surface point. This is used to relight the novel object under novel lighting (202).

The above framework helps in understanding how cues from object or camera motion govern shape, BRDF and lighting recovery. We show that a few (three or four) motions allow shape recovery with unknown isotropic BRDF and lighting, allow simultaneous shape and BRDF recovery for common materials like metals or plastics, or lead to a well-posed problem for joint recovery of shape, reflectance and directional lighting for such materials.

The appearance of many real-world materials is governed by a dichromatic model, which consists of a diffuse albedo and a non-diffuse reflectance that is a function of surface orientation, lighting and viewpoint. In our system, change in image intensities for isotropic dichromatic materials, for both the cases of object and camera motion, may be linearly related to entities associated with shape, reflectance and lighting. We call these differential flow and stereo relations, respectively.

A direct consequence of this linearity is that shape and reflectance terms are neatly decoupled by motion cues over an image sequence. Using our system, four differential object motions, or three camera motions, suffice to recover surface depth and in many cases, the unknown BRDF as well. This is surprising, since the BRDF can encode complex interactions between shape and lighting. The immediate practical benefit is that we may recover both shape and reflectance without resort to unstable alternating methods, iterative optimization, or restrictive priors on geometry and reflectance.

Another benefit is that our analysis relates the precise extent of shape and BRDF recovery to the hardness of estimation conditions. The well-posedness of shape and reflectance recovery relates to BRDF complexity, as well as to input conditions such as knowledge of lighting or uniform albedo. In the general isotropic case, we show that BRDF may not be estimated using motion cues alone, which justifies several works that impose priors for reflectance recovery. However, when the BRDF depends on one or more angles about the normal—for example, half-angle BRDFs for many metals, plastics or paints—we show that both shape and BRDF may be unambiguously recovered.

In implementations, we assume that the lighting is directional and distant, while the BRDF is isotropic and homogeneous (or having slow spatial variation). Global illumination effects like interreflections and shadows are assumed negligible. The origin of 3D coordinates is defined as the principal point on the image plane. So, the camera center is (0,0,−f)^(T), where f is the focal length. The image of a 3D point x=(x,y,z)^(T) is given by a point u=(u,v)^(T) on the image plane, with (1+βz)u=x, (1+βz)v=y, where β=f ⁻¹.  (1)

In the case of object motion, we assume the object undergoes rotation R and translation τrelative to camera. For a camera motion {R^(T),−R^(T)τ}, the object and lighting are equivalently assumed to undergo a relative motion of {R,τ}. In either case, for differential motion, we approximate R≈I+[ω]_(x), where ω=(ω₁, ω₂, ω₃)^(T) and [·]_(x) denotes the cross-product operator.

The motion field μ is the image velocity, that is, μ=({dot over (u)},{dot over (v)})^(T). Substituting from (1), with α_(i) we obtain μ=(1+βz)⁻¹[α₁(1+βz)+(α₂+ω₂ z),α₃(1+βz)+(α₄−ω₁ z)]^(T)  (2)

For surface normal n, light source s and viewing direction v, the dichromatic imaging model at a surface point x is I(u,t)=σ(x)n ^(T) s+ρ(x,n,s,v)  (3)

where σ is the diffuse albedo and ρ is the BRDF. Such models closely approximate real-world materials. Parametric models like Torrance-Sparrow are often used to model ρ, but this work considers the form of ρ unknown.

We now derive differential relations between shape and reflectance, induced by motion. Consider the setup where the camera and lighting are fixed, while the object moves relative to the camera. Since the light position s does not change with time, we may write the BRDF of a point as a function of its position and normal, that is, ρ(x,n). Taking the total derivative on both sides of (3), we get

$\begin{matrix} {{{I_{u}\overset{.}{u}} + {I_{v}\overset{.}{v}} + I_{t}} = {{\sigma\frac{\mathbb{d}}{\mathbb{d}t}\left( {n^{T}s} \right)} + {\left( {n^{T}s} \right)\frac{\mathbb{d}\sigma}{\mathbb{d}t}} + {\frac{\mathbb{d}\;}{\mathbb{d}t}{{\rho\left( {x,n} \right)}.}}}} & (4) \end{matrix}$

Since albedo is intrinsically defined on surface coordinates, its total derivative in 3D coordinates vanishes. For rigid body motion, change in normal is given by {dot over (n)}=ω×n, while change in position is the linear velocity, {dot over (x)}=v. Using chain rule differentiation and recognizing μ=({dot over (u)},{dot over (v)})^(T) as the motion field, we have (∇I)^(T) μ+I _(t)=(σs+∇ _(n)ρ)^(T)(ω×n)+(∇_(x)ρ)^(T) v.  (5)

In our setup, the BRDF is homogeneous and lighting is distant, thus, ∇_(x)ρ is negligible. Thus, we obtain the following relation: (∇_(u) I)^(T) μ+I _(t) =[n×(σs+∇ _(n)ρ)]^(T)ω.  (6)

We call this the differential flow relation 101 (FIG. 1). However, the above is a relation for dichromatic BRDFs. For now, we make an observation which will be used later: For an object with dichromatic BRDF undergoing differential motion, a differential flow relation exists that is linear in entities that depend on shape (motion field and surface normals), reflectance and lighting.

Next, a similar analysis for the case of camera motion shows the existence of a differential stereo relation: (∇_(u) I)^(T) μ+I _(t)=(n×∇ _(n) ρ+s×∇ _(s)ρ)^(T)ω.  (7)

We again observe a similarity to the monochromatic case, while noting: For an object with dichromatic BRDF observed by a camera undergoing differential motion, a differential stereo relation exists that is linear in entities that depend on shape, reflectance and lighting.

The above linearities ensconced within the differential flow and stereo relations play a key role in understanding the limits of both shape and reflectance recovery using motion cues.

Next, we establish shape recovery from motion cues, with unknown dichromatic BRDF. Further, we may assume the lighting to also be unknown.

Substituting the motion field (2) into the differential flow relation (6), we obtain (p+βq)z+(q+r)=(1+βz)ω^(T)π,  (8)

where p=I_(u)ω₂−I_(v)ω₁, q=α₁I_(u)+α₃I_(v)+I_(t) and r=α₂I_(u)+α₄I_(v) are known and π=n×(σs+∇ _(n)ρ).  (9)

We are now in a position to state the following: Four or more differential motions of a surface with unknown dichromatic BRDF, under unknown light direction, suffice to yield surface depth.

For m≧4, let known motions {ω^(i),τ^(i)}, where ω^(i) span R³, relate images I₁, . . . , I_(m) to I₀. From (8), we have a sequence of differential flow relations (p ^(i) +βq ^(i))z−(1+βz)π^(T)ω^(i)+(q ^(i) +r ^(i))=0, for i=1, . . . ,m.  (10)

Let c^(i)=[p^(i)+βq^(i), −ω₁ ^(i), −ω₂ ^(i), ω₃ ^(i)]^(T) be rows of the m×4 matrix C=[c¹, . . . , c^(m)]^(T). Let q=[q¹, . . . , q^(m)]^(T) and r=[r¹, . . . , r^(m)]^(T). Define ε=−C⁺(q+r), where C⁺ is the Moore-Penrose pseudoinverse of C and let ε′=(ε₂, ε₃, ε₄)^(T). Then, we have z=ε₁  (11) (1+βz)π=ε′.  (12)

Thus, from (11), we have obtained the surface depth.

We again start by observing that substituting the motion field (2) in the differential stereo relation (7) leads to an equation of the form (8). However, note that the definition of π is different for the case of camera motion. Indeed, an isotropic BRDF may be written as ρ(n, s, v)=ρ(n^(T)s,s^(T)v,n^(T)v), whereby π=n×∇ _(n) ρ+s×∇ _(s)ρ=ρ _(n) _(T) _(v)(n×v)+ρ _(s) _(T) _(v)(s×v),  (13)

thus, π^(T)v=π₃=0. Using m≧3 differential motions {ω^(i),τ^(i)}, one may define the m×3 matrix {tilde over (C)}=[{tilde over (c)}¹, . . . , {tilde over (c)}^(m)]^(T) with rows {tilde over (c)}^(i)−[(p′^(i)+βq′^(i)), ω₁ ^(i), ω₂ ^(i)]^(T). Then, the system of m differential stereo relations (10) may be solved to obtain [z,(1+βz)π₁,(1+μz)π₂]^(T)={tilde over (ε)},  (14)

where {tilde over (ε)}=({tilde over (ε)}₁, {tilde over (ε)}₂, {tilde over (ε)}₃)^(T)={tilde over (C)}⁺(q+r), with q and r as defined previously. It follows that z={tilde over (ε)}₁ yields the surface depth. Thus, we have shown: Three or more differential motions of the camera suffice to yield depth of a surface with unknown dichromatic BRDF and unknown light direction.

We observe that even with the assumption of a dichromatic BRDF, the shape recovery results are similar to the monochromatic cases. Indeed, the overall forms of the differential flow and stereo relations exhibit similar linearities. Intuitively, this leads to similar shape recovery results.

But more importantly, we note an additional benefit of the linear relationship between shape and BRDF in the differential flow and stereo relations. Namely, in (12) and (14), we also obtain information about the BRDF in the form of π. Our focus next will be on how the differential flow and stereo relations aid understanding of reflectance recovery.

We now consider the problem of simultaneous shape and reflectance recovery. For both the cases of object and camera motion, in addition to the shape, we have obtained information about the reflectance in (12) and (14):

$\begin{matrix} {{{{Object}\text{:}\mspace{14mu}\pi} = {\frac{1}{1 + {\beta ɛ}_{1}}\left( {ɛ_{2},ɛ_{3},ɛ_{4}} \right)^{T}}},{{{Camera}\text{:}\mspace{14mu}\pi} = {\frac{1}{1 + {\beta{\overset{\sim}{ɛ}}_{1}}}{\left( {{\overset{\sim}{ɛ}}_{2},{\overset{\sim}{ɛ}}_{3},0} \right)^{T}.}}}} & (15) \end{matrix}$

It is interesting that shape and reflectance may be decoupled using motion cues, despite the complex interactions enabled by an unknown dichromatic BRDF. We now show how the linearity of differential flow and stereo allows us to impose limits on the extent to which BRDF may be recovered using motion cues. In this section, we will assume a known light source direction.

Using m≧4 motions of an object, we may always obtain the shape. We will now explore the extent to which BRDF may be recovered.

For an isotropic BRDF, image formation depends on the three angles between surface normal, camera and lighting directions: I=σn ^(T) s+ρ(θ,φ,Ψ), where θ=n ^(T) s, φ=s ^(T) v and Ψ=n ^(T) v.  (16)

Using (9) to define π and substituting in (12), we have the following relation: (1+βz)n×[(σ+ρ_(θ))s+ρ _(Ψ) v]=ε′,  (17)

where ρ_(φ)=0 since φ remains unchanged for object motion. Further, the albedo and BRDF-derivative along the θ direction, ρ_(θ), cannot be disambiguated. This can also be intuitively understood since ρ is an arbitrary function and may ambiguously incorporate any information about θ that is included in the diffuse term. Thus, only BRDF variation along ψ is captured by object motion.

Even though estimation of a dichromatic BRDF from object motion is ambiguous in the fully general case, we show that it is unique for more restricted BRDFs exhibited by several real-world materials.

For many materials, the reflectance depends predominantly on the angle between the surface normals and a single reflection direction, r. Most commonly, such as with metals, plastics and many paints, the reflection direction is aligned with the half-angle between the source and viewing directions. This observation has also been used to propose parametric models. For many materials in the MERL dataset, empirical studies have found a single lobe BRDF to be sufficiently descriptive. For such materials, we show: Four or more differential motions of an object with single-lobe dichromatic BRDF suffice to uniquely determine its shape, albedo and reflectance.

The image formation for an object with single-lobe BRDF is given by I=σn^(T)s+ρ(η), where η=n^(T)r. Substituting in (9), we obtain π=n×(σs+∇ _(n)ρ)=n×(σs+ρ _(n) r).  (18)

Given images under four or more differential motions, the existence of a relation between depth and reflectance is: (1+βε₁)└n(ε₁)×(σs+ρ _(n) r)┘=ε′,  (19)

where the normals n(ε₁) are obtained from the derivatives of surface depth estimated in (11). Thus, the above is a rank 2 system of three linear equations in the two unknowns σ and ρ_(η), which may both be recovered. Finally, we note that for most materials, reflection vanishes around grazing angles (indeed, the non-diffuse component of half-angle BRDFs is often super-linear). Thus, ρ(0)=0, whereby ρ_(η) may be integrated to recover the BRDF function ρ.

Thus, we have shown that for a large class of dichromatic materials, motion cues alone can determine all of shape, albedo and BRDF. Intuitively, the linear separability of shape and reflectance allows us to determine conditions when BRDF is recoverable. Further, it also allows us to determine when BRDF estimation is ambiguous, as discussed next.

The result relies on the direction r being distinct from the light source s, otherwise (19) reduces to: (1+βε₁)└n(ε₁)×(σ+ρ_(n))s┘=ε′. Clearly, in this case, one may not independently recover both albedo σ and the BRDF-derivative ρ_(η). For most materials, it is indeed the case that r≠s (for instance, r is often the half-angle). However, there are two important exceptions. First, an object with arbitrary isotropic BRDF observed under colocated illumination follows an image formation model given by I=σn^(T)s+ρ(n^(T)s) (since s=v and PsP=1, there exists a function ρ such that ρ(n^(T)s, s^(T)v, n^(T)v)=ρ(n^(T)s)). Second, retroreflective materials such as those used to enhance visibility of road signs reflect light back towards the source direction. Thus, we may state: Albedo and reflectance cannot be disambiguated using motion cues for an object with retroreflective BRDF or one observed under colocated lighting.

For some materials, the image may be explained by reflection along two or more angles with respect to the surface normal. That is, I=σn ^(T) s+ρ(η₁, . . . ,η_(K)), where η_(i) =n ^(T) r _(i), for i=1, . . . ,K,  (20)

where K≧2. Empirical studies show that accounting for BRDF dependence on a second direction besides the half-angle leads to a better approximation for materials like veneer paints and fabrics. We will refer to directions η_(i) as lobes.

Given four or more differential motions, shape may be recovered for such BRDFs using Substituting from (20) into the expression for π in (9) and using (15), we obtain a relation between depth and reflectance:

$\begin{matrix} {{{\left( {1 + {\beta ɛ}_{1}} \right){n\left( ɛ_{1} \right)} \times \left( {{\sigma\; s} + {\sum\limits_{i = 1}^{K}{\rho_{\eta_{i}}r_{i}}}} \right)} = ɛ^{\prime}},} & (21) \end{matrix}$

which is a system of three linear equations in K+1 unknowns {σ,ρ_(η) ₁ , . . . , ρ_(η) _(K) }. For K>2, clearly the system (21) is underdetermined and no unique solution is possible. For K=2, the above is a system of three linear equations in three unknowns σ, ρ_(η) ₁ and ρ_(η) ₂ . However, note that the 3×3 matrix associated with the system in (21), A=(n×s, n×r₁, n×r₂), is rank-deficient. Thus, we state: A K-lobe BRDF may not be recovered using object motion alone for an object with unknown albedo when K≧2 (although shape may be recovered). It is interesting that the above ambiguity also affects important classes of parametric BRDFs. An example is the Torrance-Sparrow model ignoring geometric attenuation and Fresnel terms, for which image formation may be expressed as I=σn ^(T) s+ρ(n ^(T) h,n ^(T) v), with ρ:(n ^(T) v)⁻¹exp(−λ²(cos⁻¹ n ^(T) h)²),  (22)

where λ is a surface roughness parameter.

We now consider the important case of known albedo. Note that uniform albedo, which is a common assumption in BRDF acquisition and estimation settings, reduces to known albedo when the non-diffuse components of a dichromatic BRDF are super-linear and rapidly diminish away from the lobe directions, as is true for most materials. Since the matrix A defined above is rank 2, the remaining unknowns ρ_(η) ₁ and ρ_(η) ₂ may still be recovered when the albedo is known. Thus, we have: With known albedo, both shape and a BRDF with up to two lobes may be recovered using four or more differential motions of the object.

Finally, we note that with K≧3 lobes, even with known albedo, the above rank 2 system of equations is underdetermined, so we state: Object motion cannot disambiguate the estimation of a BRDF with K≧3 lobes, even with known albedo (although shape may still be recovered).

We now briefly study the case of camera motion. We have seen in (15) that m≧3 motions determine the entity π that encodes BRDF-derivatives. We specify what BRDF information may be recovered from π, given its form in (7): π=n×∇ _(n) ρ+s×∇ _(s)ρ.  (23)

Recall from (13) that for any isotropic BRDF where ρ(n, s, v)=p(n^(T)s,s^(T)v,n^(T)v), the BRDF-derivative ρ _(n) _(T) _(s) vanishes. Thus, a full isotropic BRDF may not be recovered using camera motion. However, one may still recover restricted forms of isotropic BRDFs, such as the K-lobe model, as shown next.

It also follows from (13) that π^(T)v=π₃=0. Thus, only two independent constraints on the BRDF are available through differential motion of the camera. Consider a K-lobe image formation I=σn^(T)s+ρ(η₁, . . . , η_(K)), where η_(i)=n^(T)r_(i). From the linearity of differentiation, π_(j) are of the form Σ_(i=1) ^(K)ρ_(η) _(i) f_(i) ^(j)(n, s, r_(i)), for some analytic functions f_(i) ^(j) and j=1, 2. Clearly, for K>2, one may not determine all the ρ_(n) _(i) , since only two constraints on π are available. Further, note that there is no dependence of π on σ, unlike the case of object motion. Thus, for K=2, when r₁ and r₂ are independent and “general” (that is, with no special dependencies for f_(i)), both ρ_(η) ₁ and ρ_(η) ₂ may be determined. Thus, the BRDF ρ can be recovered by integration. For known lighting, the albedo may subsequently be estimated by subtracting the non-diffuse component. Thus, we have: Three or more differential motions of the camera suffice to uniquely determine the shape, albedo and reflectance of an object with a general K-lobe dichromatic BRDF, for K≦2.

An important exception is the case of retroreflection, when one may have η_(i)=n^(T)s. From the symmetry of the expression for π in (23), it follows that ρ_(η) _(i) =0. Consequently, the BRDF may not be uniquely determined in this case.

We now consider the problem of jointly recovering shape, reflectance and lighting using motion cues (for convenience, “light direction” in this section also refers to the reflection directions). We show that the linear separability of shape, reflectance and lighting allows a characterization of the hardness of such joint recovery problems.

For a BRDF dependent on K reflection directions, image formation is given by (20) and shape recovered as z=ε₁. Three additional equations of the form (21) are available relating the remaining unknowns {σ,ρ_(η) ₁ , . . . , ρ_(η) _(K) ,s,r₁, . . . , r_(K)}, reproduced here for convenience:

$\begin{matrix} {{\left\lbrack {n\left( ɛ_{1} \right)} \right\rbrack_{x}\left( {{\sigma\; s} + {\sum\limits_{i = 1}^{K}{\rho_{\eta_{i}}r_{i}}}} \right)} = {\frac{ɛ^{\prime}}{1 + {\beta ɛ}_{1}}.}} & (24) \end{matrix}$

Since [n(ε₁)]_(x), is skew-symmetric, only two of the three relations in (24) are independent. Thus, for N pixels (or more precisely, N independent normals), we have 2N equations in (K+1)(N+2) unknowns (N unknowns for each of albedo and BRDF-derivatives, two unknowns for each direction). Clearly, the system of equations (24) is underdetermined for any K≧1.

Thus, we may state: With unknown albedo and non-Lambertian dichromatic BRDF, the problem of joint recovery of shape, reflectance and lighting using object motion is underconstrained.

Considering image formation in (20) dependent on a K-lobe BRDF, shape may always be recovered. By definition in (23), π is independent of albedo. From the definitions of π in (15) and (23), the relations for camera motion corresponding to (24) are of the form

$\begin{matrix} {{{\sum\limits_{i = 1}^{K}{\rho_{\eta_{i}}{f_{i}^{j}\left( {{n\left( {\overset{\sim}{ɛ}}_{1} \right)},s,r_{i}} \right)}}} = \frac{{\overset{\sim}{ɛ}}_{j + 1}}{1 + {\beta{\overset{\sim}{ɛ}}_{1}}}},{{{forknownfunctionsf}_{i}^{j}{andj}} = 1},2.} & (25) \end{matrix}$

Since π₃=0 by definition in (15), only two independent relations are available. Thus, for N pixels, we have 2N equations in K(N+2)+2 unknowns. With unknown albedo and a K-lobe dichromatic BRDF, the problem of joint recovery of shape, reflectance and lighting using camera motion is well-posed for K≦1 and ill-posed for K>1. This is a surprising result, since joint recovery of shape, reflectance and lighting has traditionally been considered hard. The above shows that even beyond the traditionally studied Lambertian cases, for many common materials like metals and plastics whose BRDF shows a strong half-angle dependence (K=1), there are enough constraints available to solve such joint recovery problems.

For a BRDF with two lobes, we have 2N+6 unknowns, so the system (25) is only mildly ill-posed and may be solved for shape, reflectance and lighting under regularization. Finally, we note that the problem is severely ill-posed for K>2.

We have presented a framework that helps understand the extent to which object or camera motion cues enable recovery of shape, reflectance and lighting. Test results reflect the intrinsic difficulty of shape and reflectance recovery from motion cues, independent of choice of estimation method. Our framework yields some surprising results on shape and reflectance recovery. In particular, we show both theoretically and in experiments that motion cues can decouple shape and BRDF, allowing both to be simultaneously (rather than alternatingly) estimated for many common materials. Even more unexpectedly, it can be shown that under camera motion, joint recovery of shape, albedo, reflectance functions, lighting and reflection directions is well-posed for some materials (and only mildly ill-posed under object motion). Estimation processes can be used to exploit this well-posedness for joint recovery of shape, reflectance and lighting.

The invention may be implemented in hardware, firmware or software, or a combination of the three. Preferably the invention is implemented in a computer program executed on a programmable computer having a processor, a data storage system, volatile and non-volatile memory and/or storage elements, at least one input device and at least one output device.

Each computer program is tangibly stored in a machine-readable storage media or device (e.g., program memory or magnetic disk) readable by a general or special purpose programmable computer, for configuring and controlling operation of a computer when the storage media or device is read by the computer to perform the procedures described herein. The inventive system may also be considered to be embodied in a computer-readable storage medium, configured with a computer program, where the storage medium so configured causes a computer to operate in a specific and predefined manner to perform the functions described herein.

The invention has been described herein in considerable detail in order to comply with the patent Statutes and to provide those skilled in the art with the information needed to apply the novel principles and to construct and use such specialized components as are required. However, it is to be understood that the invention can be carried out by specifically different equipment and devices, and that various modifications, both as to the equipment details and operating procedures, can be accomplished without departing from the scope of the invention itself. 

What is claimed is:
 1. A method for shape and material recovery from object motion of an object, comprising: modeling using a processor dichromatic dependence of surface reflectance on surface normal, lighting and viewing directions to derive a differential flow relation from an image of the object; determining a rank deficiency in a sequence of differential flow relations and use the rank deficiency to handle complex bidirectional reflectance distribution functions (BRDFs); estimating BRDF-derivatives from the differential flow relations to recover the complex BRDF; and reconstructing depth of the object without knowledge of their BRDFs for joint shape and material recovery; and using the rank deficiency to recover depth and reflectance of the object.
 2. The method of claim 1, comprising applying recovered shape and reflectance functions to predict an appearance of the object under novel lighting and relight other objects with novel shapes under the novel lighting.
 3. The method of claim 1, comprising deriving a differential flow relation for dichromatic BRDFs and relating the flow relation to a surface depth.
 4. The method of claim 1, comprising determining a rank deficiency in the relation across different images.
 5. The method of claim 1, wherein the BRDF and light direction are unknown, comprising using four or more differential motions of the object to eliminate BRDF terms to recover surface depth.
 6. The method of claim 1, wherein the BRDF is unknown and composed of a sum of dichromatic lobes, comprising using four or more differential motions of the object to derive a linear system comprising an albedo and BRDF-derivatives.
 7. The method of claim 6, comprising using the linear system to recover the albedo and BRDF.
 8. The method of claim 1, given images of a moving object of unknown shape, with an unknown dichromatic BRDF, comprising estimating shape and reflectance for appearance prediction and relighting application.
 9. The method of claim 1, comprising determining a point on a BRDF-curve corresponding to reflectance of a surface point under predetermined lighting.
 10. The method of claim 9, comprising predicting an appearance of the object under predetermined lighting.
 11. The method of claim 1, for an object with predetermined geometry, observed under predetermined lighting, comprising determining a point on the BRDF-curve corresponding to the reflectance of each surface point.
 12. The method of claim 11, comprising relighting the object under predetermined lighting.
 13. A system for shape and material recovery of an object from motion, comprising: a processor; a camera coupled to the processor; computer code for modeling the correct dichromatic dependence of surface reflectance on surface normal, lighting and viewing directions to derive a differential flow relation from an image of the object; computer code for determining a rank deficiency in a sequence of differential flow relations and use the rank deficiency to handle complex bidirectional reflectance distribution functions (BRDFs); computer code for estimating BRDF-derivatives from the differential flow relations to recover the complex BRDF; and computer code for reconstructing depth of the object that reflects light without the BRDFs for shape recovery and using the rank deficiency to recover depth and reflectance of the object.
 14. The system of claim 13, comprising computer code for applying recovered shape and reflectance functions to predict an appearance of the object under novel lighting and relight other objects with novel shapes under the novel lighting.
 15. The system of claim 13, comprising computer code for deriving a differential flow relation for dichromatic BRDFs and relating the flow relation to a surface depth.
 16. The system of claim 13, comprising computer code for determining a rank deficiency in the relation across different images. 